//
//  ShareListBottomButton.m
//  HappyBaby
//
//  Created by 华哥 on 15/11/30.
//  Copyright © 2015年 华哥. All rights reserved.
//

#import "ShareListBottomButton.h"
#import "Define.h"


@implementation ShareListBottomButton

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {      
        self.image = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.bounds.size.width / 2,self.bounds.size.height)];
        [self addSubview:_image];
        self.image.image = [UIImage imageNamed:@"iconfont-pinglun"];
        
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(self.bounds.size.width / 2, 0, frame.size.width * 1 / 2, frame.size.height)];
        [self addSubview:_label];
    }
    return self;
}


@end
